//
//  UIButton+Helper.h
//  Live
//
//  Created by 唐开福 on 2017/5/23.
//  Copyright © 2017年 LaKa. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIControl (Convenient)

- (void)lk_addTarget:(id)target action:(SEL)action;

@end


@interface UIButton (Convenient)

- (void)lk_setTitle:(NSString *)title;
- (void)lk_setAttributeTitle:(NSAttributedString *)title;

- (void)lk_setFontSize:(CGFloat)size;
- (void)lk_setFont:(UIFont *)font;

- (void)lk_setTextColor:(UIColor *)color;

- (void)lk_setImage:(UIImage *)image;
- (void)lk_setImageWithName:(NSString *)imageName;

- (void)lk_setBackgroundImage:(UIImage *)image;
- (void)lk_setBackgroundImageWithName:(NSString *)imageName;

- (void)lk_addTarget:(id)target action:(SEL)action;
@end
